<?php
interface Simplium_Db_Adapter_Interface{
	/**
	 * Connect to db
	 * @param array $array
	 */
	public function connect(array $array = array());
	
	/**
	 * Insert data into db
	 * @param mixed $name
	 * @param array $data
	 */
	public function insert($tblname, array $data);
	
	/**
	 * Update data in db
	 * @param mixed $name
	 * @param array $data
	 * @param mixed $where
	 */
	public function update($tblname, array $data, $where = '');
	
	/**
	 * Delete data in db
	 * @param mixed $name
	 * @param mixed $where
	 */
	public function delete($tblname, $where = '');

}